extends PlayerState

# ===============================================

const DURATION: float = 0.5

# ===============================================

func enter() -> void:
	player.velocity = Vector2.ZERO
	player.animation_player.play("recover")
	get_tree().create_timer(DURATION).timeout.connect(
		func(): 
			state_transition.emit(self, State.MOVE)
	)
